package cn.buk.api.ctrip.dto.tbooking;

import cn.buk.api.ctrip.util.xstream.MyDateConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;

import java.util.Date;

public class BaseInfo {

    @XStreamAlias("OrderStatus")
    private String orderStatus;

    @XStreamAlias("FlightWay")
    private String flightWay;

    @XStreamAlias("OrderDesc")
    private String orderDesc;

    @XStreamAlias("OrderDateTime")
    @XStreamConverter(value = MyDateConverter.class, strings = {"yyyy-MM-dd'T'HH:mm:ss"})
    private Date orderDateTime;

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getFlightWay() {
        return flightWay;
    }

    public void setFlightWay(String flightWay) {
        this.flightWay = flightWay;
    }

    public String getOrderDesc() {
        return orderDesc;
    }

    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }

    public Date getOrderDateTime() {
        return orderDateTime;
    }

    public void setOrderDateTime(Date orderDateTime) {
        this.orderDateTime = orderDateTime;
    }
}
